package br.ucb.tcc.actions;

import br.ucb.tcc.aiml.AimlCommand;
import br.ucb.tcc.aiml.forms.Set;
import br.ucb.tcc.aiml.forms.Srai;
import br.ucb.tcc.aiml.forms.Think;
import br.ucb.tcc.helper.AimlHelper;

public class UserInfo extends BotSystemAction<Object> {

	@Override
	public String decriptyAction(String action) {
		AimlCommand command = new AimlCommand();
		
		Think think = new Think();
		
		Set set = new Set("denis", "nome");
		
		think.add(set);
		
		Srai srai = new Srai("teste");
		
		command.add(think);
		command.add(srai);
		
		return  AimlHelper.magicConversion(command);	
	}

	@Override
	String generateXML(Object t) {
		// TODO Auto-generated method stub
		return null;
	}
}
